<!DOCTYPE html>
<html th:replace="~{layouts/layout :: layout(~{::title}, ~{::section})}" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:text="${article.getTitle()} + ' - 青池'"></title>
</head>
<body>
<section>
    <style>
        #title {
            text-align: center; }

        #date {
            width: 80%;
            margin: 0 auto;
            padding: 10px;
            text-align: center;
            color: #aaa;
            border-bottom: 1px #ccc solid; }

        ul {
            list-style-position: inside; }

        #content {
            width: 90%;
            margin: 0 auto;
            line-height: 220%;
            font-size: 18px; }
        @media screen and (min-width: 800px) {
            #content {
                width: 80%; } }
        #content p {
            margin-bottom: 20px; }

        #stage .tag-list {
            width: 90%;
            margin: 0 auto;
            margin-top: 20px;
            list-style: none;
            background: #eee; }
        @media screen and (min-width: 800px) {
            #stage .tag-list {
                width: 80%; } }
        #stage .tag-list li {
            display: inline-block;
            margin: 10px; }
    </style>
    <div id="stage">
        <h2 id="title" th:text="${article.getTitle()}"></h2>
        <br>
        <div id="content" th:utext="${article.getContent()}"></div>
    </div>
</section>
</body>
</html>
